import { getRequest, postRequest } from '@/api/request';
import * as mock from './mock';
import { v1 as v1Api } from '@/common';

// test
const test = () => {
  return getRequest(`${v1Api}/user`, {});
}

// test
const user = () => {
  return postRequest(`${v1Api}/user`, {});
}

export {
  test,
  user,
}

export default {
  ...mock,
}
